package com.learn.project2.model.vo.wx.topic;

import com.learn.project2.bean.MarketTopic;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @description: 微信小程序 /wx/topic/detail的输出映射
 * @author 曹源
 * @date  2022/1/10 19:52
 * @version 1.0
 */
@NoArgsConstructor
@Data
public class TopicDetailVO2 {

    private MarketTopic topic;
    private List<GoodsDTO> goods;

    @NoArgsConstructor
    @Data
    public static class GoodsDTO {
        private Integer id;
        private String name;
        private String brief;
        private String picUrl;
        private Boolean isNew;
        private Boolean isHot;
        private BigDecimal counterPrice;
        private BigDecimal retailPrice;
    }
}
